package com.net.xpay.web.dto;

import com.net.xpay.core.enums.PayTransBatchStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * 2019/9/26 17:00

 * 批次转账记录
 */
@Getter
@Setter
@NoArgsConstructor
public class OpenPayTransBatchDto {
    @ApiModelProperty(notes = "导入的商户的批次号 非必选")
    private String importBatchNo;

    @ApiModelProperty("状态")
    private PayTransBatchStatus status;

    @ApiModelProperty(notes = "批次明细")
    List<OpenPayTransDto> payTransList;

    @ApiModelProperty(notes = "批次失败错误原因")
    private String failReason;

    public static OpenPayTransBatchDto getInstance() {
        return new OpenPayTransBatchDto();
    }
}
